package com.horsen.service.edu.model.VO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 章节 VO
 *
 * @author Horsen
 */
@Data
public class ChapterVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("章节ID")
    private String id;

    @ApiModelProperty("章节名称")
    private String title;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("节点类型(cha章节,vid视频)")
    private final String name = "cha";

    @ApiModelProperty("视频VO")
    private List<VideoVO> children = new ArrayList<>();


}